﻿<UserControl x:Class="PrintScreens.Printer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" Loaded="UserControl_Loaded">
    <UserControl.Resources>
        <ResourceDictionary Source="/SSCCMembership;component/MainResourceDictionary.xaml"/>
        
    </UserControl.Resources>
    <Grid>
        <Border Background="{StaticResource GreyBackground}" CornerRadius="20" Padding="5" BorderBrush="{StaticResource PurpleBrush}" BorderThickness="8">
            <Grid x:Name="LayoutRoot">
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <TextBlock x:Name="Status" Style="{StaticResource Heading}" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                <ProgressBar x:Name="Progress" IsIndeterminate="True" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center" Height="20" Width="100" Value="100"/>
                
            </Grid>
        </Border>
        <Button Click="BeginPrinting" Grid.RowSpan="2" x:Name="BP_Button" Visibility="Collapsed" Style="{StaticResource LargePurpleButton}">Print</Button>
    </Grid>
</UserControl>
